﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace sdm.exam.dataaccess
{
    public class ExamDomain
    {
        public void addExamsList(be.Exam exam)
        {
            using (DatamodelContainer dc = new DatamodelContainer())
            {
                Exam parsedExam = ObjectParser.ExamToExamDao(exam);
                dc.AddToExamSet(parsedExam);
                dc.SaveChanges();
            }
        }

        public List<be.Exam> getExamsListByEducation(string education)
        {
            throw new NotImplementedException();
        }

        public void addTeam(be.Class team)
        {
            throw new NotImplementedException();
        }
    }
}
